package com.ddk.en.mongo.model.repository.platform;

import com.ddk.en.mongo.model.repository.param.IdcardImage;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by Evan on 2017-08-04.
 */
public interface CreditImageRepro extends MongoRepository<IdcardImage, String> {

    IdcardImage findByIdcard(String idcard);

    IdcardImage findByAccountId(long accountId);
}
